package com.siwei.mes.entity.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;


/**
 * 工单和试验台账的关系(OrderExperiment)实体类
 *
 * @author linzi
 * @since 2024-03-18 17:45:49
 */
@Data
@Accessors(chain = true)
@Table(name = "pk_order_experiment")
@ApiModel(value = "OrderExperiment", description = "工单和试验台账的关系")
public class OrderExperiment implements Serializable {
    private static final long serialVersionUID = -76401823023911542L;
    /**
     * 主键id
     */
    @Id
    @ApiModelProperty(value = "工单和试验台账的关系主键ID", name = "id")
    private Long id;
    /**
     * 试验台账id
     */
    @Column(name = "experiment_id")
    @ApiModelProperty(value = "试验台账id", name = "experimentId")
    private Long experimentId;
    /**
     * 工单id
     */
    @Column(name = "order_id")
    @ApiModelProperty(value = "工单id", name = "orderId")
    private Long orderId;
}
